package com.blackcat.mybatisplus.wrapper.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * <p>
 * 老师表模板
 * </p>
 *
 * @author zhanghui
 * @since 2023-04-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Teacher extends Model<Teacher> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 老师编号，要唯一，不能重复
     */
    private String teacherNo;

    /**
     * 老师姓名
     */
    private String teacherName;

    /**
     * 性别，如：男/女/未知
     */
    private String teacherSex;

    /**
     * 老师生日
     */
    private LocalDateTime teacherBirthday;

}
